package com.观察者模式.案列2.observer;

import com.观察者模式.案列2.dto.OmsDto;
import org.springframework.stereotype.Service;

@Service
public class SendMsgToUser implements ObserverInterface {
    @Override
    public void update(OmsDto omsDto) {
        System.out.println("订单关闭通知用户....当前用户id是："+omsDto.getUserId());
    }
}
